package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 采购申报实体对象 sys_procurementdeclare
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysProcurementdeclare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购申报表ID */
    private Long procurementDeclareId;

    /** 采购单位ID */
    @Excel(name = "采购单位ID")
    private Long purchasingUnitId;
    /**所属采购计划**/
    private Long purchasePlanId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNumber;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String tel;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobilePhone;

    /** 计划资金 */
    @Excel(name = "计划资金")
    private Double expectMoney;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;

    private List<SysDeclaregoods> declareGoods;

    private Integer cgbApproveResult;

    public Integer getCgbApproveResult() {
        return cgbApproveResult;
    }

    public void setCgbApproveResult(Integer cgbApproveResult) {
        this.cgbApproveResult = cgbApproveResult;
    }

    public void setProcurementDeclareId(Long procurementDeclareId)
    {
        this.procurementDeclareId = procurementDeclareId;
    }

    public Long getProcurementDeclareId() 
    {
        return procurementDeclareId;
    }
    public void setPurchasingUnitId(Long purchasingUnitId) 
    {
        this.purchasingUnitId = purchasingUnitId;
    }

    public Long getPurchasingUnitId() 
    {
        return purchasingUnitId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectNumber(String projectNumber) 
    {
        this.projectNumber = projectNumber;
    }

    public String getProjectNumber() 
    {
        return projectNumber;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setMobilePhone(String mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() 
    {
        return mobilePhone;
    }
    public void setExpectMoney(Double expectMoney)
    {
        this.expectMoney = expectMoney;
    }

    public Double getExpectMoney()
    {
        return expectMoney;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("procurementDeclareId", getProcurementDeclareId())
            .append("purchasingUnitId", getPurchasingUnitId())
            .append("projectName", getProjectName())
            .append("projectNumber", getProjectNumber())
            .append("unitName", getUnitName())
            .append("contactName", getContactName())
            .append("tel", getTel())
            .append("mobilePhone", getMobilePhone())
            .append("expectMoney", getExpectMoney())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .toString();
    }

    public Long getPurchasePlanId() {
        return purchasePlanId;
    }

    public void setPurchasePlanId(Long purchasePlanId) {
        this.purchasePlanId = purchasePlanId;
    }

    public List<SysDeclaregoods> getDeclareGoods() {
        return declareGoods;
    }

    public void setDeclareGoods(List<SysDeclaregoods> declareGoods) {
        this.declareGoods = declareGoods;
    }
}
